package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Category;

import java.util.List;


public interface CategoryService {
    R pageCategory(int page, int pageSize);

    int saveCategory(Category category);

    int deleteCategoryByIds(Long ids);

    void updateCategoryById(Category category);

    R getCategoryList(Integer type);
}
